Skip to contentSkip to conversation

shader display problems Unreal 4 Engine

Bug 101479 [email protected] 1 participant 3 messages Jun 17, 2017 – Jun 18, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101479

Bug ID: 101479
Summary: shader display problems Unreal 4 Engine
Product: Mesa
Version: 17.0
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 132017
--> https://bugs.freedesktop.org/attachment.cgi?id=132017&action=edit
Rendering problems with lit mode

Hello,

I have installed and built the unreal 4 engine editor from source (with no errors), and I am attempting to trial it. Firstly, since mesa still hasn't implemented openGL 4.3, which Unreal Engine requires, I am running Unreal Engine in openGL 3 mode. My graphics card is AMD HD 5570, Redwood, which will in the future receive openGL 4.3/4.5 support. So until that happens, I was planning to just run Unreal Engine in the openGL 3 mode. However, when I run openGL in that mode, it starts up without error into the project browser, but when I create a project, the rendering of the game objects are horribly wrong (see attachment). It is fine when the scene is unlit; it is only wrong with lighting. When the viewport is in lit mode (the one with the problems), it floods the console with this message:

EE ../../../../../src/gallium/drivers/r600/r600_state_common.c:799 r600_shader_select - Failed to build shader variant (type=1) -1

I looked up the problem online, and it is a problem on the driver end, not on Unreal's end.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101479

--- Comment #1 from [email protected] ---
I looked up more, and this is probably a duplicate of bug 99349
(https://bugs.freedesktop.org/show_bug.cgi?id=99349) . At the end, there was a suggestion for a patch to fix this.

It has not yet been released in an update, so I am applying the patch myself and checking if it works.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101479

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from [email protected] ---
I built mesa with the patch, and it works.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel